package top.revery.task;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.web.bind.annotation.RestController;


/**
 * <h1> ---  --- </h1>
 * Created by  revery.top jun
 * Date  2019-12-04 21:56
 */

@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
@EntityScan("top.revery.api.entity.user")
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class,args);
    }

/*    @RequestMapping("/test")
    String test(HttpServletRequest request){
        System.out.println("alipay_success ——————————————————");
        System.out.println(request.getParameterMap());
        return "Test!";
    }

    @RequestMapping("/alipay_notify")
    String alipay_notify(HttpServletRequest request){
        System.out.println("alipay_notify ——————————————————");
        System.out.println(request.getParameterMap());
        return "Test!";
    }*/
}
